Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove patientId field, fixed next appointment bug, removed unus… #5

Merged
merged 5 commits into from
Feb 21, 2017

Conversation

Chima1707
Copy link

Fixed issues raised in sprint retro

{{#if model.visit.startDate}}
<div class="ps-info-group">
<label class="ps-info-label">{{t 'reports.form.visitDate' }}</label>
<input class="form-control" value={{date-format model.visit.startDate format="DD/MM/YYYY hh:mm a"}}>
<input class="form-control" disabled value={{date-format model.visit.startDate format="DD/MM/YYYY hh:mm a"}}>
Copy link

@adeolabadmus adeolabadmus Feb 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The date field should be displayed just as text, not an input element. A tech-savvy/malicious user could tweak the disabled property of the input, and change the date.

Kindly implement this as text: <p> or <span>, not <input>

@@ -83,7 +78,7 @@
{{#if nextAppointment}}
<div class="ps-info-group">
<label class="ps-info-label">{{t 'reports.form.nextAppointmentDate' }}</label>
<input class="form-control" value={{date-format nextAppointment format="DD/MM/YYYY hh:mm a"}}>
<input class="form-control" disabled value={{date-format nextAppointment format="DD/MM/YYYY hh:mm a"}}>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The appointment field should also be text not input, as stated above

@adeolabadmus adeolabadmus merged commit f8859de into dev Feb 21, 2017
@adeolabadmus adeolabadmus deleted the feat/opd-report branch March 16, 2017 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants